
//
//  AnchorInformationCustomView.m
//  XYFMApp
//
//  Created by 岁变 on 16/9/4.
//  Copyright © 2016年 岁变. All rights reserved.
//

#import "AnchorInformationCustomView.h"

@implementation AnchorInformationCustomView

- (instancetype)initWithFrame:(CGRect)frame title:(NSString *)title {
    
    self = [super initWithFrame:frame];
    if (self) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, 10, 100, 30)];
        _titleLabel.text = title;
        _titleLabel.textColor = [UIColor grayColor];
        [self addSubview:_titleLabel];
        
        UIView *lineOne = [[UIView alloc] initWithFrame:CGRectMake(70, 0, 1, 10)];
        lineOne.backgroundColor = [UIColor redColor];
        [self addSubview:lineOne];
        UIView *lineTwo = [[UIView alloc] initWithFrame:CGRectMake(70, 40, 1, 10)];
        lineTwo.backgroundColor = [UIColor redColor];
        [self addSubview:lineTwo];
        UIView *lineThree = [[UIView alloc] initWithFrame:CGRectMake(70, 49.5, frame.size.width - 70, 0.5)];
        lineThree.backgroundColor = [UIColor redColor];
        [self addSubview:lineThree];
        
        _contentLabel = [[UILabel alloc] initWithFrame:CGRectMake(150, 10, frame.size.width - 150, 30)];
        _contentLabel.textColor = [UIColor blackColor];
        [self addSubview:_contentLabel];
    }
    return self;
}



@end
